//
//  SubscibeModel.m
//  安好
//
//  Created by qinlongqing on 14/12/9.
//  Copyright (c) 2014年 lianchuangbrother. All rights reserved.
//

#import "SubscibeModel.h"

@implementation SubscibeModel

- (instancetype)initWithDict:(NSDictionary *)dict{
    self = [super init];
    if (self) {
        self.catnameForSubscibe = [dict valueForKey:@"catname"];
        self.cidForSubscibe = [dict valueForKey:@"cid"];
        self.contentForSubscibe = [dict valueForKey:@"content"];
        self.datelineForSubscibe = [dict valueForKey:@"dateline"];
        self.descriptionForSubscibe = [dict valueForKey:@"description"];
        self.iscollectionForSubscibe = [[dict valueForKey:@"iscollection"] integerValue];
        self.nidForSubscibe = [dict valueForKey:@"nid"];
        self.picForSubscibe = [dict valueForKey:@"pic"];
        self.titleForSubscibe = [dict valueForKey:@"title"];
        self.urlForSubscibe = [dict valueForKey:@"url"];
        self.shareurlForSubscibe = [dict valueForKey:@"shareurl"];
    }
    return self;
}

@end
